Ext.define('Admin.view.archive.UnitController', {
	        extend : 'Admin.app.archive.CustomController',

	        alias : 'controller.unit',

	        beforeInsert : function(record, parent) {
		        record.data.plant = parent.data.id
	        }

        });